package com.mazaiting.testdemo.design

import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.mazaiting.testdemo.R
import kotlinx.android.synthetic.main.activity_design.*

class DesignActivity : AppCompatActivity() {
  
  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_design)
    
    btn_material_button.setOnClickListener { startActivity(Intent(this, MaterialButtonActivity::class.java)) }
    btn_chip.setOnClickListener { startActivity(Intent(this, ChipActivity::class.java)) }
    btn_material_card_view.setOnClickListener { startActivity(Intent(this, MaterialCardViewActivity::class.java)) }
    btn_bottom_app_bar.setOnClickListener { startActivity(Intent(this, BottomAppBarActivity::class.java)) }
  }
  
}
